package com.mysqldemo.mappers;
import org.apache.ibatis.annotations.Param;

/**
 * @Description Mapper
 * @Author 徐大勇
 * @Version 1.8.0_131
 * @date 2023/07/06
 */
public interface InfoMapper<T, P> extends BaseMapper{

	// 根据用户编号查询

	 T selectByUserId(@Param("userId")String userId);

	// 根据用户编号更新

	 Integer updateByUserId(@Param ("bean") T t , @Param("userId")String userId);

	// 根据用户编号删除

	 Integer deleteByUserId(@Param("userId")String userId);

}
